import InfiniteScroll from "./src";

import type {App} from 'vue';
import type {SFCWithInstall} from '@/utils/types'

const _InfiniteScroll = InfiniteScroll as SFCWithInstall<typeof InfiniteScroll>

_InfiniteScroll.install = (app:App)=>{
    app.directive('InfiniteScroll',_InfiniteScroll)
}

export default _InfiniteScroll
export const ElInfiniteScroll = _InfiniteScroll